package cn.jbt.config;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliyunOssConfig {

    @NotBlank(message = "endpoint 不能为空。")
    private String endpoint;

    @NotBlank(message = "bucket 不能为空。")
    private String bucket;

    @NotBlank(message = "accessKeyID 不能为空。")
    private String accessKeyID;

    @NotBlank(message = "accessKeySecret 不能为空。")
    private String accessKeySecret;

    private String callback;
}
